package com.uxwine.alarm.alert;

import com.uxwine.cmm.os.CPUWakeLock;

import android.content.Context;


public class AlarmWakeLock extends CPUWakeLock
{
	private static AlarmWakeLock mInstance;
	private Context mCtx;
	
	public synchronized static AlarmWakeLock getInstance(Context ctx)
	{
		if(null == mInstance)
		{
			mInstance = new AlarmWakeLock(ctx);
		}
		return mInstance;
	}
	
	protected AlarmWakeLock(Context ctx)
	{
		mCtx = ctx;
	}
	
	public void acquire()
	{
		acquire(mCtx, "Alarm.CPUWakeLock");
	}
}
